﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using 为web添加unity.caching在controller中注入.Models;

namespace 为web添加unity.caching在controller中注入.Repository
{
    public abstract class RepositoryBase
    {
        public RepositoryBase(EEE114Entities db)
        {
            DB = db ?? new EEE114Entities();
        }
        protected EEE114Entities DB;
    }
}